package com.wpy.auditlog.properties;

import com.wpy.auditlog.enums.SourceChannel;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "ark.audit")
public class AuditProperties {
    private String companyCode;
    private String appId;
    private String functionModule;
    private String operationUserType;
    private SourceChannel sourceChannel;

    public String getCompanyCode() {
        return companyCode;
    }

    public void setCompanyCode(String companyCode) {
        this.companyCode = companyCode;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getFunctionModule() {
        return functionModule;
    }

    public void setFunctionModule(String functionModule) {
        this.functionModule = functionModule;
    }

    public String getOperationUserType() {
        return operationUserType;
    }

    public void setOperationUserType(String operationUserType) {
        this.operationUserType = operationUserType;
    }

    public SourceChannel getSourceChannel() {
        return sourceChannel;
    }

    public void setSourceChannel(SourceChannel sourceChannel) {
        this.sourceChannel = sourceChannel;
    }
}

